import { domainService } from '~/config/server';
import { NetService } from '~/utils/net.service';
import { Inject, Debounce } from '~/core/decorator';
export class EliminateStrateguLogService {
  @Inject(NetService)
  private netService: NetService;

  /**
   * 查询策略运行明细
   */
  public queryRecord (data,page) {
    return this.netService.send({
      server: domainService.eliminateStrateguLogController.queryRecordDetailList,
      data,
      page
    });
  }
  /**
   * 查询策略运行日志
   */
  public queryStrategy (data, page) {
    return this.netService.send({
      server: domainService.eliminateStrateguLogController.queryStrategyRecordList,
      data,
      page
    });
  }
}